<template>
  <el-form ref="modifyUserInfoForm" label-width="60">
    <el-form-item label="角色名">
      <el-input v-model="data.name" />
    </el-form-item>
    <el-form-item label="描述">
      <el-input type="textarea" v-model="data.description" />
    </el-form-item>
  </el-form>
</template>

<script>
export default {
  name: 'RoleBaseForm',
  props: { modelValue: {} },
  computed: {
    data: {
      get () {
        return this.modelValue
      },
      set (val) {
        this.$emit('update:modelValue', val)
      }
    }
  },
}
</script>

<style scoped>

</style>
